package birdsVSZombiesClient.gameGraphic;

import ddf.minim.AudioSample;
import ddf.minim.Minim;
import processing.core.PApplet;
import processing.core.PShape;
import processing.core.PImage;

/**
 * The shapes which will be drawn in client.
 * @author Yang Liu
 * @version Version 0.0.4
 */
public class BVZGameShape {
	
	public static PApplet parent;
//	public static Minim sMinim;
	
	public float spx;
	public float spy;
	public float ssx;
	public float ssy;
	public float sa;
	public int sfc;
	public int ssc;
	public int ssw;
	
	public PShape st;
	public PImage si;
	public String gst;
	
//	public AudioSample collisionSound;
	
	//	Times of collision, change texture according to this.
	public int currentShapeCollisionNum;
	
	public int maxShapeCollisionNum;
	
	//	Large contact number
	public int lcn;
	
	public BVZGameShape(float shapePosX, float shapePosY, float shapeSizeX,
			float shapeSizeY, float shapeAngle, int shapeFillColor,
			int shapeStrokeColor, int shapeStrokeWeight, int currentCollisionNum, int maxCollisionNum) {
		super();
		this.spx = shapePosX;
		this.spy = shapePosY;
		this.ssx = shapeSizeX;
		this.ssy = shapeSizeY;
		this.sa = shapeAngle;
		this.sfc = shapeFillColor;
		this.ssc = shapeStrokeColor;
		this.ssw = shapeStrokeWeight;
		this.currentShapeCollisionNum = currentCollisionNum;
		this.maxShapeCollisionNum = maxCollisionNum;
//		this.collisionSound = sMinim.loadSample("bird 02 collision a5.wav");
	}
	
	public BVZGameShape(){
		this(0,0,0,0,0,0,0,0,0,0);
	}
	
	public void display(){
		
	}
	
}
